package com.syq.service;


import com.github.pagehelper.PageInfo;
import com.syq.entity.Goods;
import com.syq.entity.PageBean;

import java.util.List;
import java.util.Map;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.service
 * @description: ${TODO}
 * @date 2022/6/23 11:39
 */
public interface GoodsService {
    PageBean<Goods> findByPage(Map<Object,Object> map);

    Goods findById(int id);

    void add(Goods goods);
}
